package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
public class AddCatenaRequest {
    @ApiModelProperty("系列名称")
    @NotNull(message = "系列名称不能为空")
    private String name;
    @NotNull(message = "系列介绍不能为空")
    @ApiModelProperty("系列介绍")
    private String presentation;
    @ApiModelProperty("类型")
    @NotNull(message = "类型不能为空")
    private Integer type;
    @ApiModelProperty("作者")
    @NotNull(message = "作者不能为空")
    private Long userCreatorId;
}
